<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <![endif]-->
    <title>审核助理审核</title>
</head>
<body>
<div class="contant">
<div class="row">
    <div class="content complete_info">
        <!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" type="text/css" href="/Public/Admin/css/main.css" />
    <link rel="stylesheet" type="text/css" href="/Public/Admin/css/common.css" />
    <link rel="stylesheet" type="text/css" href="/Public/Admin/css/bootstrap.min.css" />
    <script type="text/javascript" src="/Public/Admin/extend/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="/Public/Admin/extend/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/Public/Admin/extend/lib/layer/2.4/layer.js"></script>
    <![endif]-->
    <title>上传照片预览</title>
</head>
<body>
<div class="contant">
<ul class="nav nav-tabs" role="tablist" style="position: relative;">
        <li role="presentation" class="active"><a href="#aaa" aria-controls="aaa" role="tab" data-toggle="tab">基本信息</a></li>
        <li role="presentation"><a href="#ccc" aria-controls="ccc" role="tab" data-toggle="tab">车辆信息</a></li>
        <li role="presentation"><a href="#ddd" aria-controls="ddd" role="tab" data-toggle="tab">材料列表</a></li>
        <li role="presentation"><a href="#eee" aria-controls="eee" role="tab" data-toggle="tab">业务进度</a></li>
        <li role="presentation"><a href="#ggg" aria-controls="ggg" role="tab" data-toggle="tab">审核详情</a></li>
    </ul>
    <div class="form-horizontal tab-content">
        <!--基本信息左内容区-->
        <div class="fl">
            <div role="tabpanel" class="tab-pane box active" id="aaa">
                <!-- <h1>基本信息<span>(标*为必填项)</span></h1> -->
                <div class="info">
                    <ul class="info_top">
                        <li class="active">主贷人</li>
                        <li>紧急联系人</li>
                        <li>担保人</li>
                        <li>配偶</li>
                    </ul>
                    <!--主贷人信息-->
                    <div class="list-block base-info">
                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-1">客户编号</label>
                            <input type="text" id="form-field-1" class="bgCcc myCss col-xs-10 col-sm-2" name="entry_no" value="<?php echo ($info["entry_no"]); ?>" readonly>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-2">业务员</label>
                            <input type="text" id="form-field-2" class="bgCcc myCss col-xs-10 col-sm-2"  name="admin_name" value=<?php echo ($info["admin_name"]); ?> readonly>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-3">所在部门</label>
                            <input type="text" id="form-field-3" class="bgCcc myCss col-xs-10 col-sm-2" name="department_name" value="<?php echo ($info["department_name"]); ?>" readonly>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-4">业务来源</label>
                            <select name="service_source" class="myCss col-xs-10 col-sm-2">
                                <?php if(is_array($serviceSourceItems)): foreach($serviceSourceItems as $key=>$ss): if($key == $info['service_source']): ?><option value=<?php echo ($key); ?> selected><?php echo ($ss); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($ss); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                        </div>

                        <!-- <div class="form-group">
                        </div> -->

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-5">经销商类别</label>
                            <select name="distributor_type" class="myCss col-xs-10 col-sm-2" id="form-field-5">
                                <?php if(is_array($distributorItems)): foreach($distributorItems as $key=>$ss): if($key == $info['distributor_type']): ?><option value=<?php echo ($key); ?> selected><?php echo ($ss); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($ss); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-6">经销商</label>
                            <input type="text" id="form-field-6" class="myCss col-xs-10 col-sm-2" name="dealer_name" value=<?php echo ($info["dealer_name"]); ?>>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-7">合作等级</label>
                            <input readonly type="text" id="form-field-7" class="bgCcc myCss col-xs-10 col-sm-2" name="cooperation_level" value=<?php echo ($info["cooperation_level"]); ?> >
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-8">姓名</label>
                            <input type="text" id="form-field-8" class="bgCcc myCss col-xs-10 col-sm-2" name="user_name" value=<?php echo ($info["user_name"]); ?> readonly>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-9">性别</label>
                            <label class="col-xs-10 col-sm-1">男<input type="radio" value=1 name="sex" <?php echo ($info['sex'] == 1 ? 'checked' : ''); ?>></label>
                            <label class="col-xs-10 col-sm-1">女<input type="radio" value=2 name="sex" <?php echo ($info['sex'] == 2 ? 'checked' : ''); ?>></label>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-10">婚否</label>
                            <select name="marital_status" id="form-field-10" class="myCss col-xs-10 col-sm-2">
                                <?php if(is_array($maritalStatusItems)): foreach($maritalStatusItems as $key=>$v): if($key == $info['marital_status']): ?><option value=<?php echo ($key); ?> selected><?php echo ($v); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($v); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-14">身份证号</label>
                            <input type="text" id="form-field-14" class="bgCcc myCss col-xs-10 col-sm-2" name="identity_no" value=<?php echo ($info["identity_no"]); ?> readonly>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-11">出生年月</label>
                            <input type="date" id="form-field-11" class="bgCcc myCss col-xs-10 col-sm-2" name="birth_year_month" value=<?php echo ($info["birth_year_month"]); ?> readonly>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-12">年龄</label>
                            <input type="number" id="form-field-12" class="bgCcc myCss col-xs-10 col-sm-2" name="age" value=<?php echo ($info["age"]); ?> readonly>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-13">手机号</label>
                            <input type="number" id="form-field-13" class="bgCcc myCss col-xs-10 col-sm-2" name="telephone" value=<?php echo ($info["telephone"]); ?> readonly>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-15">户籍</label>
                            <div data-toggle="distpicker" id="household-registration">
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="home_province"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="home_city"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="home_district"></select>
                                <input style="margin-right: 15px;" id="form-field-16" class="myCss col-xs-10 col-sm-3" type="text" name="address" value=<?php echo ($info["address"]); ?>>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-17">现居住地</label>
                            <div data-toggle="distpicker" id="now-address">
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="now_province"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="now_city"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="now_district"></select>
                                <input style="margin-right: 15px;" id="form-field-18" class="myCss col-xs-10 col-sm-3" type="text" name="now_address" value=<?php echo ($info["now_address"]); ?>>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-20">房屋类型</label>
                            <select name="house_type" class="myCss col-xs-10 col-sm-2" id="form-field-20">
                                <?php if(is_array($houseTypeItems)): foreach($houseTypeItems as $key=>$val): if($key == $info['house_type']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-19">学历</label>
                            <select name="education" class="myCss col-xs-10 col-sm-2" id="form-field-19">
                                <?php if(is_array($educationItems)): foreach($educationItems as $key=>$val): if($key == $info['education']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-23">工作单位</label>
                            <input type="text" id="form-field-23" placeholder="工作单位" class="myCss col-xs-10 col-sm-3" name="work_company" value="<?php echo ($info["work_company"]); ?>">
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-1">所属行业</label>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="industry" value="<?php echo ($info["industry"]); ?>">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-22">工作年限</label>
                            <select name="work_life" class="myCss col-xs-10 col-sm-2" id="form-field-22">
                                <?php if(is_array($workYearItems)): foreach($workYearItems as $key=>$val): if($val == $info['work_life']): ?><option value=<?php echo ($val); ?> selected><?php echo ($val); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($val); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                            <label class="col-sm-1 control-label no-padding-right">单位电话</label>
                            <input style="margin-right: 15px;width: 80px;" class="myCss  col-xs-10 col-sm-2" placeholder="区号" type="text" name="area_code" value=<?php echo ($info["area_code"]); ?>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <input  class="myCss col-xs-10 col-sm-2" placeholder="固定电话" type="text" name="company_tel" value=<?php echo ($info["company_tel"]); ?>>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-24">单位地址</label>
                            <div data-toggle="distpicker" id="distpicker">
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="province"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="city"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="district"></select>
                                <input style="margin-right: 15px;" id="form-field-25" class="myCss col-xs-10 col-sm-3" type="text" name="company_address" value=<?php echo ($info["company_address"]); ?>>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-left">单位性质</label>
                            <select name="company_nature" class="myCss col-xs-10 col-sm-2">
                                <?php if(is_array($companyNatureItems)): foreach($companyNatureItems as $key=>$val): if($key == $info['company_nature']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>

                            </select>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-27">职务职位</label>
                            <input id="form-field-27" class="myCss col-xs-10 col-sm-2" type="text" name="company_office" value=<?php echo ($info["company_office"]); ?>>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-21">月收入</label>
                            <input type="text" id="form-field-3" class="myCss col-xs-10 col-sm-2" name="month_income" value="<?php echo ($info["month_income"]); ?>" id="form-field-21">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-2">备注</label>
                            <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="note" value=<?php echo ($info["note"]); ?>>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-left" for="form-field-15">还款卡问题</label>
                            <select name="loan_question" class="myCss col-xs-10 col-sm-2">
                                <?php if(is_array($creditQ)): foreach($creditQ as $key=>$val): if($key == $info['loan_question']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-15">答案</label>
                            <input class="myCss col-xs-10 col-sm-2" type="text" name="answer" value=<?php echo ($info["answer"]); ?>>
                        </div>

                        <div class="item col-50">
                            <label>调查情况分析:</label>
                            <textarea class="form-control" name="survey_note" cols="100" rows="3"><?php echo ($info["survey_note"]); ?></textarea>
                        </div>
                    </div>
                    <!--紧急联系人-->
                    <div class="list-block urgent-contactor" style="display: none;">
                        <div class="col-33">
                            <input type="hidden" name="user_id" value=<?php echo ($info["id"]); ?>>
                            <input id="user-status" type="hidden" name="status" value=<?php echo ($info["status"]); ?>>
                        </div>

                        <div class="form-group">
                            <label class="no-padding-left col-sm-1 control-label no-padding-right" for="form-field-3">姓名</label>
                            <input type="hidden" name="urgent_id1" value=<?php echo ($contactors["0"]["id"]); ?>>
                            <input type="text" id="form-field-3" class="myCss col-xs-10 col-sm-1" name="urgent_user_name1" value="<?php echo ($contactors["0"]["user_name"]); ?>">
                            <label class="no-padding-left col-sm-1 control-label no-padding-right" for="form-field-4">关系</label>
                            <select name="relationship1" class="myCss col-xs-10 col-sm-1">
                                <?php if(is_array($relationship)): foreach($relationship as $key=>$val): if($key == $contactors[0]['relationship']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                            <label class="col-sm-1 control-label no-padding-right">手机号码</label>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-3" name="urgent_tel1" value=<?php echo ($contactors["0"]["telephone"]); ?>>
                        </div>

                        <div class="form-group">
                            <label class="no-padding-left col-sm-1 control-label no-padding-right">姓名</label>
                            <input type="hidden" name="urgent_id2" value=<?php echo ($contactors["1"]["id"]); ?>>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-1" name="urgent_user_name2" value=<?php echo ($contactors["1"]["user_name"]); ?>>
                            <label class="no-padding-left col-sm-1 control-label no-padding-right" style="font-size: 12px;">关系</label>
                            <select name="relationship2" class="myCss col-xs-10 col-sm-1">
                                <?php if(is_array($relationship)): foreach($relationship as $key=>$val): if($key == $contactors[1]['relationship']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                            <label class="col-sm-1 control-label no-padding-right">手机号码</label>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-3" name="urgent_tel2" value=<?php echo ($contactors["1"]["telephone"]); ?>>
                        </div>
                    </div>
                    <!--配偶-->
                    <div class="list-block spouse" style="display: none;">
                        <div class="col-33">
                            <input type="hidden" name="user_id" value=<?php echo ($info["id"]); ?>>
                        </div>



                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-1">配偶姓名</label>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="spouse_name" value="<?php echo ($info["spouse_name"]); ?>">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-1">身份证号</label>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="spouse_identity_no" value="<?php echo ($info["spouse_identity_no"]); ?>">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-2">年龄</label>
                            <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="spouse_age" value=<?php echo ($info["spouse_age"]); ?>>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-19">学历</label>
                            <select name="spouse_education" class="myCss col-xs-10 col-sm-2" id="form-field-19">
                                <?php if(is_array($educationItems)): foreach($educationItems as $key=>$val): if($key == $info['spouse_education']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                        <?php else: ?>
                                        <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                            </select>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-15">户籍</label>
                            <div data-toggle="distpicker" id="spouse-home">
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="spouse_home_province"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="spouse_home_city"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="spouse_home_district"></select>
                                <input style="margin-right: 15px;" id="form-field-16" class="myCss col-xs-10 col-sm-3" type="text" name="spouse_address" value=<?php echo ($info["spouse_address"]); ?>>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-15">现居住地</label>
                            <div data-toggle="distpicker" id="spouse-now">
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="spouse_now_province"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="spouse_now_city"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="spouse_now_district"></select>
                                <input style="margin-right: 15px;" id="form-field-16" class="myCss col-xs-10 col-sm-3" type="text" name="spouse_now_address" value=<?php echo ($info["spouse_now_address"]); ?>>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-20">手机号</label>
                            <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="spouse_telephone" value=<?php echo ($info["spouse_telephone"]); ?>>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-2">工作单位</label>
                            <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="spouse_company" value=<?php echo ($info["spouse_company"]); ?>>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-1">工作年限</label>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="spouse_work_life" value="<?php echo ($info["spouse_work_life"]); ?>">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-1">所属行业</label>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="spouse_industry" value="<?php echo ($info["spouse_industry"]); ?>">
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-15">单位地址</label>
                            <div data-toggle="distpicker" id="spouse-company">
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="spouse_company_province"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="spouse_company_city"></select>
                                <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="spouse_company_district"></select>
                                <input style="margin-right: 15px;" id="form-field-16" class="myCss col-xs-10 col-sm-3" type="text" name="spouse_company_address" value=<?php echo ($info["spouse_company_address"]); ?>>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-1">单位性质</label>
                            <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="spouse_company_nature" value="<?php echo ($info["spouse_company_nature"]); ?>">
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-2">职务职位</label>
                            <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="spouse_position" value=<?php echo ($info["spouse_position"]); ?>>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-2">月收入</label>
                            <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="spouse_month_income" value=<?php echo ($info["spouse_month_income"]); ?>>
                            <label class="col-sm-1 control-label no-padding-right" for="form-field-2">备注</label>
                            <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="spouse_note" value=<?php echo ($info["spouse_note"]); ?>>
                        </div>
                    </div>
                    <!--担保人-->
                    <?php if(is_array($assureInfo)): $i = 0; $__LIST__ = $assureInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$assureInfo): $mod = ($i % 2 );++$i;?><div class="list-block assure" style="display: none;">
                            <div class="col-33">
                                <input type="hidden" name="assure_id" value=<?php echo ($assureInfo["id"]); ?>>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-1">担保人姓名</label>
                                <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="name" value="<?php echo ($assureInfo["user_name"]); ?>">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-1">身份证号</label>
                                <input type="text" id="form-field-1" class="bgCcc myCss col-xs-10 col-sm-2" name="assure_identity_no" value="<?php echo ($assureInfo["identity_no"]); ?>" readonly="true">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">年龄</label>
                                <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="age" value=<?php echo ($assureInfo["age"]); ?>>
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-19">学历</label>
                                <select name="education" class="myCss col-xs-10 col-sm-2" id="form-field-19">
                                    <?php if(is_array($educationItems)): foreach($educationItems as $key=>$val): if($key == $assureInfo['education']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                            <?php else: ?>
                                            <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                                </select>
                            </div>

                            <div class="form-group" style="float: none;">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-20">房屋类型</label>
                                <select name="assure_house_type" class="myCss col-xs-10 col-sm-2" id="form-field-20">
                                    <?php if(is_array($houseTypeItems)): foreach($houseTypeItems as $key=>$val): if($key == $assureInfo['house_type']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                            <?php else: ?>
                                            <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                                </select>
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-19">居住年限</label>
                                <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="live_time" value=<?php echo ($assureInfo["live_time"]); ?>>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-15">现居住地</label>
                                <div data-toggle="distpicker" id="assure-now">
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="assure_now_province"></select>
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="assure_now_city"></select>
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="assure_now_district"></select>
                                    <input style="margin-right: 15px;" id="form-field-16" class="myCss col-xs-10 col-sm-3" type="text" name="assure_address" value=<?php echo ($assureInfo["address"]); ?>>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-15">户籍</label>
                                <div data-toggle="distpicker" id="assure-home">
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="assure_home_province"></select>
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="assure_home_city"></select>
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="assure_home_district"></select>
                                    <input style="margin-right: 15px;" id="form-field-16" class="myCss col-xs-10 col-sm-3" type="text" name="assure_now_address" value=<?php echo ($assureInfo["now_address"]); ?>>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-20">手机号</label>
                                <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="assure_telephone" value=<?php echo ($assureInfo["telephone"]); ?>>
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">工作单位</label>
                                <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="company" value=<?php echo ($assureInfo["company"]); ?>>
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-1">工作年限</label>
                                <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="work_life" value="<?php echo ($assureInfo["work_life"]); ?>">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-1">所属行业</label>
                                <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="assure_industry" value="<?php echo ($assureInfo["industry"]); ?>">
                            </div>

                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-15">单位地址</label>
                                <div data-toggle="distpicker" id="assure-company">
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="province" name="assure_company_province"></select>
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="city" name="assure_company_city"></select>
                                    <select style="margin-right: 15px;" class="myCss col-xs-10 col-sm-2" id="district" name="assure_company_district"></select>
                                    <input style="margin-right: 15px;" id="form-field-16" class="myCss col-xs-10 col-sm-3" type="text" name="company_address" value=<?php echo ($assureInfo["company_address"]); ?>>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-1">单位性质</label>
                                <input type="text" id="form-field-1" class="myCss col-xs-10 col-sm-2" name="company_nature" value="<?php echo ($assureInfo["company_nature"]); ?>">
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">职务职位</label>
                                <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="age" value=<?php echo ($assureInfo["office"]); ?>>
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">月收入</label>
                                <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="assure_month_income" value=<?php echo ($assureInfo["month_income"]); ?>>
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-2">备注</label>
                                <input type="text" id="form-field-2" class="myCss col-xs-10 col-sm-2"  name="assure_note" value=<?php echo ($assureInfo["note"]); ?>>
                            </div>
                        </div><?php endforeach; endif; else: echo "" ;endif; ?>
                </div>
            </div>
            <!--<div role="tabpanel" class="tab-pane box" id="bbb">-->
            <!-- <h1>垫款信息<span>(标*为必填项)</span></h1> -->
            <!--<div class="list-block" id="advance-info">-->

            <!--</div>-->

            <div role="tabpanel" class="tab-pane box" id="ccc">
                <!-- <h1>车辆消息<span>(标*为必填项)</span></h1> -->
                <input class="required" type="hidden" name="car_info_id" value=<?php echo ($carInfo["id"]); ?>>
                <input id="bank_rate" type="hidden" name="bank_rate" value=<?php echo ($bank_rule["rate"]); ?>>
                <div class="list-block">

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-3">业务类型</label>
                        <select name="business_type" class="myCss col-xs-10 col-sm-2">
                            <?php if(is_array($carFirmItems)): foreach($carFirmItems as $key=>$val): if($key == $carInfo['business_type']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                    <?php else: ?>
                                    <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                        </select>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-4">车辆类型</label>
                        <select name="car_type" class="myCss col-xs-10 col-sm-2">
                            <?php if(is_array($carTypeItems)): foreach($carTypeItems as $key=>$val): if($key == $carInfo['car_type']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                    <?php else: ?>
                                    <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                        </select>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-3">车辆性质</label>
                        <select name="models_form" class="myCss col-xs-10 col-sm-2">
                            <?php if(is_array($carModelItems)): foreach($carModelItems as $key=>$val): if($key == $carInfo['models_form']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                    <?php else: ?>
                                    <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                        </select>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-4">汽车品牌</label>
                        <select name="brand_id" class="myCss col-xs-10 col-sm-2">
                            <?php if(is_array($carBrand)): foreach($carBrand as $key=>$val): if($val['brand_id'] == $carInfo['brand_id']): ?><option value=<?php echo ($val["brand_id"]); ?> selected><?php echo ($val["brand_name"]); ?></option>
                                    <?php else: ?>
                                    <option value=<?php echo ($val["brand_id"]); ?>><?php echo ($val["brand_name"]); ?></option><?php endif; endforeach; endif; ?>
                        </select>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-3">汽车系列</label>
                        <select class="myCss col-xs-10 col-sm-2" name="car_series_id"><option><?php echo ($carInfo["car_series_name"]); ?></option></select>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-4">汽车车型</label>
                        <select class="myCss col-xs-10 col-sm-2" name="car_form_id"><option><?php echo ($carInfo["type_name"]); ?></option></select>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">座位数</label>
                        <input readonly type="text" id="seat_num" class="bgCcc myCss col-xs-10 col-sm-2" name="seat_no" value="<?php echo ($carInfo["seat_no"]); ?>">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">指导价</label>
                        <input readonly class="bgCcc myCss col-xs-10 col-sm-2" id="guide_price" type="text" name="guide_price" value=<?php echo ($carInfo["guide_price"]); ?>>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">销售价格</label>
                        <input id="sale_price" type="number" name="sale_price" class="myCss col-xs-10 col-sm-2" value=<?php echo ($carInfo["sale_price"]); ?> >
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">上牌地</label>
                        <select name="license_area" class="myCss col-xs-10 col-sm-2">
                            <?php if(is_array($licenseList)): foreach($licenseList as $key=>$val): if($val['address_name'] == $carInfo['license_area']): ?><option value=<?php echo ($val["address_name"]); ?> selected><?php echo ($val["address_name"]); ?></option>
                                    <?php else: ?>
                                    <option value=<?php echo ($val["address_name"]); ?>><?php echo ($val["address_name"]); ?></option><?php endif; endforeach; endif; ?>
                        </select>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">上牌类型</label>
                        <select name="license_type" class="myCss col-xs-10 col-sm-2">
                            <?php if(is_array($onCardItems)): foreach($onCardItems as $key=>$val): if($key == $carInfo['license_type']): ?><option value=<?php echo ($key); ?> selected><?php echo ($val); ?></option>
                                    <?php else: ?>
                                    <option value=<?php echo ($key); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                        </select>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">行驶证</label>
                        <input class="myCss col-xs-10 col-sm-2" type="text" name="driving_license" value=<?php echo ($carInfo["driving_license"]); ?>>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">年限</label>
                        <select name="term" id="term" class="myCss col-xs-10 col-sm-2">
                            <?php if(is_array($yearLimitItems)): foreach($yearLimitItems as $key=>$val): if($val == $carInfo['term']): ?><option value=<?php echo ($val); ?> selected><?php echo ($val); ?></option>
                                    <?php else: ?>
                                    <option value=<?php echo ($val); ?>><?php echo ($val); ?></option><?php endif; endforeach; endif; ?>
                        </select>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">公司费率</label>
                        <input class="myCss col-xs-10 col-sm-2" id="company_rate" type="number" name="company_rate"
                               value=<?php echo ($carInfo["company_rate"]); ?>>

                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">小利率</label>
                        <select name="small_rate" id="small_rate" class="myCss col-xs-10 col-sm-2">
                            <option>
                                <?php switch($carInfo["small_rate"]): case "0": ?>无<?php break;?>
                                    <?php case "1": ?>有<?php break; endswitch;?>
                            </option>
                        </select>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">签约首付款</label>
                        <input readonly class="bgCcc myCss col-xs-10 col-sm-2" id="sign_first_payment" type="number"
                               name="sign_first_payment" value=<?php echo ($carInfo["sign_first_payment"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right">签约首付比例</label>

                        <input readonly class="col-sm-2 bgCcc myCss" id="sign_first_pay_proportion" type="text"
                               placeholder="小于100的小数" name="sign_first_pay_proportion"
                               value=<?php echo ($carInfo["sign_first_pay_proportion"]); ?>>

                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">实际首付款</label>
                        <input readonly class="bgCcc myCss col-xs-10 col-sm-2" id="real_first_payment" type="number"
                               name="real_first_payment" value=<?php echo ($carInfo["real_first_payment"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">实际首付比例</label>

                        <input readonly class=" bgCcc myCss col-sm-2" id="real_first_pay_proportion" type="text"
                               placeholder="小于100的小数" name="real_first_pay_proportion"
                               value=<?php echo ($carInfo["real_first_pay_proportion"]); ?>>

                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right">签约贷款额</label>
                        <input readonly class="bgCcc myCss col-xs-10 col-sm-2" id="sign_loan_quota" type="number"
                               name="sign_loan_quota" value=<?php echo ($carInfo["sign_loan_quota"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">签约贷款额比例</label>
                        <input readonly class="col-sm-2 bgCcc myCss" id="sign_loan_proportion" type="text"
                               placeholder="小于100的小数" name="sign_loan_proportion"
                               value=<?php echo ($carInfo["sign_loan_proportion"]); ?>>

                        <label class="col-sm-1 control-label no-padding-right">实际贷款额</label>
                        <input class="myCss col-xs-10 col-sm-2" id="real_loan_quota" type="number"
                               name="real_loan_quota" value=<?php echo ($carInfo["real_loan_quota"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">实际贷款比例</label>
                        <input readonly class="col-sm-2 bgCcc myCss" id="real_loan_proportion" type="text"
                               placeholder="小于100的小数" name="real_loan_proportion"
                               value=<?php echo ($carInfo["real_loan_proportion"]); ?>>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">月还款</label>
                        <input readonly class="bgCcc myCss col-xs-10 col-sm-2" id="month_repayment" type="number"
                               name="month_repayment" value=<?php echo ($carInfo["month_repayment"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">还款总额</label>
                        <input readonly class="bgCcc myCss col-xs-10 col-sm-2" id="repayment_total" type="number"
                               name="repayment_total" value=<?php echo ($carInfo["repayment_total"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right">佣金</label>
                        <input id="commission" class="myCss col-md-1" type="number" name="commission"
                               value=<?php echo ($carInfo["commission"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">车商</label>
                        <input id="car-dealer" class="myCss col-md-1" type="text" name="car_dealer"
                               value=<?php echo ($carInfo["car_dealer"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right">个人</label>
                        <input id="person" class="myCss col-md-1" type="text" name="person" value=<?php echo ($carInfo["person"]); ?>>
                    </div>

                    <input class="required" type="hidden" name="advance_id" value=<?php echo ($advanceInfo["id"]); ?>>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">按揭服务费</label>
                        <input type="text" id="add1" class="myCss col-xs-10 col-sm-2" name="server_fee" value=<?php echo ($advanceInfo["server_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">公证抵押费</label>
                        <input type="text" id="add2" class="myCss col-xs-10 col-sm-2"  name="mortgage_fee" value=<?php echo ($advanceInfo["mortgage_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">履约保证金</label>
                        <input type="text" id="add3" class="myCss col-xs-10 col-sm-2" name="performance_fee" value=<?php echo ($advanceInfo["performance_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">上牌押金</label>
                        <input type="text" id="add4" class="myCss col-xs-10 col-sm-2"  name="card_on_deposit" value=<?php echo ($advanceInfo["card_on_deposit"]); ?>>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">担保费</label>
                        <input type="text" id="add5" class="myCss col-xs-10 col-sm-2" name="guarantee_fee" value=<?php echo ($advanceInfo["guarantee_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">上牌费</label>
                        <input type="text" id="add6" class="myCss col-xs-10 col-sm-2"  name="card_on_fee" value=<?php echo ($advanceInfo["card_on_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">手续费</label>
                        <input type="text" id="add7" class="myCss col-xs-10 col-sm-2" name="counter_fee" value=<?php echo ($advanceInfo["counter_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">评估费</label>
                        <input type="text" id="add8" class="myCss col-xs-10 col-sm-2"  name="assess_fee" value=<?php echo ($advanceInfo["assess_fee"]); ?>>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">GPS费用</label>
                        <input type="text" id="add9" class="myCss col-xs-10 col-sm-2" name="gps_fee" value=<?php echo ($advanceInfo["gps_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">责信险</label>
                        <input type="text" id="add10" class="myCss col-xs-10 col-sm-2"  name="liability_insurance" value=<?php echo ($advanceInfo["liability_insurance"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">参融保险费</label>
                        <input type="text" id="add11" class="myCss col-xs-10 col-sm-2" name="finance_safe_fee" value=<?php echo ($advanceInfo["finance_safe_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">参融购置税</label>
                        <input type="text" id="add12" class="myCss col-xs-10 col-sm-2"  name="finance_buy_fee" value=<?php echo ($advanceInfo["finance_buy_fee"]); ?>>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">参融装潢费</label>
                        <input type="text" id="add13" class="myCss col-xs-10 col-sm-2" name="finance_decorate_fee" value=<?php echo ($advanceInfo["finance_decorate_fee"]); ?>>
                        <label class="col-sm-1 control-label no-padding-right" for="form-field-2">其他费用</label>
                        <input type="text" id="add24" class="myCss col-xs-10 col-sm-2"  name="other_fee" value=<?php echo ($advanceInfo["other_fee"]); ?>>

                        <label class="col-sm-1 control-label no-padding-right" for="form-field-1">合计</label>
                        <input type="text" id="total-fee" class="myCss col-xs-10 col-sm-2" name="total_fee" value=<?php echo ($advanceInfo["total_fee"]); ?>>
                    </div>
                </div>
            </div>

            <div role="tabpanel" class="tab-pane box" id="ddd">
                <!-- <h1>材料列表</h1> -->
                <div class="list-block">
                    <div style="display: flex;justify-content:flex-start;flex-wrap: wrap;">
                        <div class=""></div>

                        <div class="tabright">
                            <div class="convent_choice">
                                <div class="andArea">
                                    <a href="<?php echo ($info["identity_photo_pros"]); ?>" target="_blank"><img src="<?php echo ($info["identity_photo_pros"]); ?>"></a>
                                </div>
                            </div>
                            <div>
                                <div class="filePicker">身份证正面</div>
                            </div>
                        </div>

                        <div class="tabright">
                            <div class="convent_choice">
                                <div class="andArea">
                                    <a href="<?php echo ($info["identity_photo_cons"]); ?>" target="_blank"><img src="<?php echo ($info["identity_photo_cons"]); ?>"></a>
                                </div>
                            </div>
                            <div>
                                <div class="filePicker">身份证反面</div>
                            </div>
                        </div>
                        <div class="tabright">
                            <div class="convent_choice">
                                <div class="andArea">
                                    <a href="<?php echo ($info["credit_authorize_photo"]); ?>" target="_blank"><img src="<?php echo ($info["credit_authorize_photo"]); ?>"></a>
                                </div>
                            </div>
                            <div>
                                <div class="filePicker">征信授权书</div>
                            </div>
                        </div>
                        <div class="tabright">
                            <div class="convent_choice">
                                <div class="andArea">
                                    <a href="<?php echo ($info["credit_authorize_up"]); ?>" target="_blank"><img src="<?php echo ($info["credit_authorize_up"]); ?>"></a>
                                </div>
                            </div>
                            <div>
                                <div class="filePicker">征信授权书抬头照</div>
                            </div>
                        </div>
                        <div class="tabright">
                            <div class="convent_choice">
                                <div class="andArea">
                                    <a href="<?php echo ($info["credit_authorize_down"]); ?>" target="_blank"><img src="<?php echo ($info["credit_authorize_down"]); ?>"></a>
                                </div>
                            </div>
                            <div>
                                <div class="filePicker">征信授权书低头照</div>
                            </div>
                        </div>

                        <?php if($info["spouse_name"] != null): ?><div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["spouse_id_photo_pros"]); ?>" target="_blank"><img src="<?php echo ($info["spouse_id_photo_pros"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">身份证正面</div>
                                </div>
                            </div>
                            <div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["spouse_id_photo_cons"]); ?>" target="_blank"><img src="<?php echo ($info["spouse_id_photo_cons"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">身份证反面</div>
                                </div>
                            </div>
                            <div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["spouse_credit_photo"]); ?>" target="_blank"><img src="<?php echo ($info["spouse_credit_photo"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">征信授权书</div>
                                </div>
                            </div>
                            <div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["spouse_credit_up"]); ?>" target="_blank"><img src="<?php echo ($info["spouse_credit_up"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">征信授权书抬头照</div>
                                </div>
                            </div>
                            <div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["spouse_credit_down"]); ?>" target="_blank"><img src="<?php echo ($info["spouse_credit_down"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">征信授权书低头照</div>
                                </div>
                            </div><?php endif; ?>

                        <?php if(is_array($assure)): $i = 0; $__LIST__ = $assure;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$assure_id): $mod = ($i % 2 );++$i;?><div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["assure_id_photo_pros"]); ?>" target="_blank"><img src="<?php echo ($info["assure_id_photo_pros"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">身份证正面</div>
                                </div>
                            </div>

                            <div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["assure_id_photo_cons"]); ?>" target="_blank"><img src="<?php echo ($info["assure_id_photo_cons"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">身份证反面</div>
                                </div>
                            </div>
                            <div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["assume_credit_photo"]); ?>" target="_blank"><img src="<?php echo ($info["assume_credit_photo"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">征信授权书</div>
                                </div>
                            </div>
                            <div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["credit_up_photo"]); ?>" target="_blank"><img src="<?php echo ($info["credit_up_photo"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">征信授权书抬头照</div>
                                </div>
                            </div>
                            <div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <a href="<?php echo ($info["credit_down_photo"]); ?>" target="_blank"><img src="<?php echo ($info["credit_down_photo"]); ?>"></a>
                                    </div>
                                </div>
                                <div>
                                    <div class="filePicker">征信授权书低头照</div>
                                </div>
                            </div><?php endforeach; endif; else: echo "" ;endif; ?>

                        <?php if(is_array($needUploadFiles)): foreach($needUploadFiles as $key=>$_file_set): ?><div class="tabright">
                                <div class="convent_choice">
                                    <div class="andArea">
                                        <div id="preview<?php echo ($_file_set["id"]); ?>">
                                            <?php if($_file_set["file_dist"] != null): if($_file_set["is_pic"] == 1): $arrFile = explode(',', $_file_set['file_dist']); if(count($arrFile) > 1){ echo '<a href="/Admin/Apply/showPic.html?pic_url='.$_file_set['file_dist'].'" target="_blank"><img src="'.$_file_set['file_dist'].'"></a>'; }else{ echo '<img class="js_img" src="'.$_file_set['file_dist'].'">'; } ?>
                                                    <?php else: ?>
                                                    <video height="115" width="150" src="<?php echo ($_file_set["file_dist"]); ?>" controls="controls"></video><?php endif; ?>
                                                <?php else: ?>
                                                <img src="/Public/Common/images/preview.png"><?php endif; ?>

                                        </div>
                                    </div>
                                    <div>
                                        <div class="filePicker"><?php echo ($_file_set["file_key"]); ?></div>
                                        <input type="hidden" class="img_box<?php echo ($_file_set["id"]); ?>" name="<?php echo ($_file_set["e_file_key"]); ?>" value="<?php echo ($_file_set["file_dist"]); ?>"/>
                                        <?php if(($info['check_status'] == -1 and $info['status'] != 0) or ($info['status'] == 9 or $info['status'] == 12 )): ?><input id="fileId<?php echo ($_file_set["id"]); ?>" type="file" multiple="multiple" name="file" class="uploadA" data="<?php echo ($_file_set["id"]); ?>" style="opacity: 0;" /><?php endif; ?>
                                    </div>
                                </div>
                            </div><?php endforeach; endif; ?>
                        <!-- <tr>
                            <td class="bule">身份证反面&nbsp;&nbsp;&nbsp;<a class="bule" href=http://<?php echo ($_SERVER['HTTP_HOST']); ?>/Uploads/<?php echo ($info["identity_photo_cons"]); ?>>点击查看</a></td>
                            <td>预审批材料</td>
                        </tr> -->
                    </div>
                </div>
            </div>
            <div role="tabpanel" class="tab-pane box" id="eee">
                <!-- <h1>业务进度</h1> -->
                <div class="list-block">
                    <table>
                        <tr>
                            <td>职位</td>
                            <td>状态</td>
                            <td>日期</td>
                            <td>操作</td>
                        </tr>
                        <?php if(is_array($checkInfo)): $i = 0; $__LIST__ = $checkInfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$check): $mod = ($i % 2 );++$i;?><tr>
                                <td class="bule"><?php echo ($check["type"]); ?>-<?php echo ($check["admin_name"]); ?></td>
                                <td>
                                    <?php switch($check["check_status"]): case "-5": ?>客户提交征信<?php break;?>
                                        <?php case "-4": ?>央行征信通过<?php break;?>
                                        <?php case "-3": ?>公检法查询通过<?php break;?>
                                        <?php case "-2": ?>同盾查询通过<?php break;?>
                                        <?php case "-1": ?>业务已提交<?php break;?>
                                        <?php case "1": switch($check["status"]): case "1": ?>渠道内勤审核通过<?php break;?>
                                                <?php case "11": ?>渠道内勤审核待定<?php break;?>
                                                <?php case "12": ?>渠道内勤审核退回<?php break; endswitch; break;?>
                                        <?php case "2": switch($check["status"]): case "1": ?>区域经理审核通过<?php break;?>
                                                <?php case "11": ?>区域经理审核待定<?php break;?>
                                                <?php case "12": ?>区域经理审核退回<?php break; endswitch; break;?>
                                        <?php case "3": switch($check["status"]): case "1": ?>审核助理审核通过<?php break;?>
                                                <?php case "11": ?>审核助理审核待定<?php break;?>
                                                <?php case "12": ?>审核助理审核退回<?php break; endswitch; break;?>
                                        <?php case "4": switch($check["status"]): case "1": ?>审核专员审核通过<?php break;?>
                                                <?php case "11": ?>审核专员审核待定<?php break;?>
                                                <?php case "12": ?>审核专员审核退回<?php break; endswitch; break;?>
                                        <?php case "5": switch($check["status"]): case "1": ?>审核主管审核通过<?php break;?>
                                                <?php case "11": ?>审核主管审核待定<?php break;?>
                                                <?php case "12": ?>审核主管审核退回<?php break; endswitch; break;?>
                                        <?php case "6": switch($check["status"]): case "1": ?>审核经理审核通过<?php break;?>
                                                <?php case "11": ?>审核经理审核待定<?php break;?>
                                                <?php case "12": ?>审核经理审核退回<?php break; endswitch; break;?>
                                        <?php case "7": ?>垫资申请已添加<?php break;?>
                                        <?php case "8": ?>财务助理审核通过<?php break;?>
                                        <?php case "9": ?>财务已打款<?php break;?>
                                        <?php case "10": ?>垫资资料已补录<?php break;?>
                                        <?php case "11": ?>抄单资料已确认<?php break;?>
                                        <?php case "12": ?>合同已抄单<?php break;?>
                                        <?php case "13": ?>内勤主管审核通过<?php break;?>
                                        <?php case "14": ?>合同已送行<?php break;?>
                                        <?php case "15": ?>合同由银行接收<?php break;?>
                                        <?php case "16": ?>合同从银行送回<?php break;?>
                                        <?php case "17": ?>合同已接收<?php break;?>
                                        <?php case "19": ?>合同送公证处<?php break;?>
                                        <?php case "20": ?>合同从公证处收回<?php break;?>
                                        <?php case "21": ?>公证书确认完毕<?php break;?>
                                        <?php case "22": ?>抵押资料寄至渠道<?php break;?>
                                        <?php case "23": ?>抵押资料渠道已收到<?php break;?>
                                        <?php case "24": ?>合同已快递银行<?php break;?>
                                        <?php case "25": ?>抵押资料已补录<?php break;?>
                                        <?php case "26": ?>公司资料已转交<?php break;?>
                                        <?php case "27": ?>银行已收到合同快递<?php break;?>
                                        <?php case "28": ?>归档资料已递交完毕<?php break;?>
                                        <?php case "29": ?>归档资料已送交银行<?php break;?>
                                        <?php case "30": ?>资料已归档<?php break; endswitch;?>
                                </td>
                                <!--    <td><?php if($check["status"] == 1): ?>审核通过<?php else: ?>审核未通过<?php endif; ?></td> -->
                                <td><?php echo (date('Y-m-d H:i:s',$check["add_time"])); ?></td>
                                <td><button data-id='<?php echo ($check["id"]); ?>' class="btn btn-sm btn-default checkin" type="button">查看</button></td>
                            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <div id="myModal" class="modal fade in" style="display: none;">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button data-dismiss="modal" class="close" type="button">×</button>
                    <h4 class="modal-title">详情页面</h4>
                </div>
                <div class="modal-body" style='height:200px;'></div>
                <!-- <div class="modal-footer">
                    <button class="btn btn-danger adopt" data-type='0' type="button">删除</button>
                </div> -->
            </div>
        </div>
    </div>

    <div class="wrapper-main" style="opacity:0; width: 100%; height: 100%;">
        <div class="wrapper-bac">
        </div>
        <div class="wrapper">
            <div class="left"><img src="/Public/Admin/images/left.png"></div>
            <div class="wrapper-conter">
                <div id="viewer2" class="viewer"></div>
                <p style="line-height:20px;color:#888888">车辆前部拍摄照片</p>
            </div>
            <div class="right"><img src="/Public/Admin/images/right.png"></div>
        </div>
        <div class="clear"><img src="/Public/Admin/images/clear.png"></div>
    </div>
</div>
<!--    <script src="http://www.jq22.com/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://www.jq22.com/jquery/bootstrap-3.3.4.js"></script>-->
    <script src="/Public/Admin/js/distpicker.data.js"></script>
    <script src="/Public/Admin/js/distpicker.js"></script>
    <script src="/Public/Admin/extend/distpicker/js/main.js"></script>
    <!-- 上传文件 -->
    <script type="text/javascript" src='/Public/Admin/js/daterangepicker.min.js'></script>
    <!-- 预览 -->
    <script src="/Public/Admin/js/jqueryui.js"></script>
    <script src="/Public/Admin/js/jquery.mousewheel.min.js"></script>
    <script src="/Public/Admin/js/jquery.iviewer.js"></script>
    <script type="text/javascript">
        // 初始化地区户籍
        $("#household-registration").distpicker({
            province: '<?php echo ($h_areaInfo["province"]); ?>',
            city: '<?php echo ($h_areaInfo["city"]); ?>',
            district: '<?php echo ($h_areaInfo["district"]); ?>'
        });

        // 初始化地区现居住地
        $("#now-address").distpicker({
            province: '<?php echo ($now_areaInfo["province"]); ?>',
            city: '<?php echo ($now_areaInfo["city"]); ?>',
            district: '<?php echo ($now_areaInfo["district"]); ?>'
        });

        // 初始化地区单位地址
        $("#distpicker").distpicker({
            province: '<?php echo ($c_areaInfo["province"]); ?>',
            city: '<?php echo ($c_areaInfo["city"]); ?>',
            district: '<?php echo ($c_areaInfo["district"]); ?>'
        });

        // 初始化配偶户籍
        $("#spouse-home").distpicker({
            province: '<?php echo ($s_h_areaInfo["province"]); ?>',
            city: '<?php echo ($s_h_areaInfo["city"]); ?>',
            district: '<?php echo ($s_h_areaInfo["district"]); ?>'
        });

        // 初始化配偶现居住地
        $("#spouse-now").distpicker({
            province: '<?php echo ($s_now_areaInfo["province"]); ?>',
            city: '<?php echo ($s_now_areaInfo["city"]); ?>',
            district: '<?php echo ($s_now_areaInfo["district"]); ?>'
        });

        // 初始化配偶单位地址
        $("#spouse-company").distpicker({
            province: '<?php echo ($s_c_areaInfo["province"]); ?>',
            city: '<?php echo ($s_c_areaInfo["city"]); ?>',
            district: '<?php echo ($s_c_areaInfo["district"]); ?>'
        });

        // 初始化担保人户籍
        $("#assure-home").distpicker({
            province: '<?php echo ($a_h_areaInfo["province"]); ?>',
            city: '<?php echo ($a_h_areaInfo["city"]); ?>',
            district: '<?php echo ($a_h_areaInfo["district"]); ?>'
        });

        // 初始化担保人现居住地
        $("#assure-now").distpicker({
            province: '<?php echo ($a_now_areaInfo["province"]); ?>',
            city: '<?php echo ($a_now_areaInfo["city"]); ?>',
            district: '<?php echo ($a_now_areaInfo["district"]); ?>'
        });

        // 初始化担保人单位地址
        $("#assure-company").distpicker({
            province: '<?php echo ($a_c_areaInfo["province"]); ?>',
            city: '<?php echo ($a_c_areaInfo["city"]); ?>',
            district: '<?php echo ($a_c_areaInfo["district"]); ?>'
        });

        // 主贷人和紧急联系人切换
        $(function () {
            $('.info_top').find('li').click(function (elm) {
                cureent_index = $(this).index();
                if (cureent_index == 0) {
                    $('.spouse').css("display", "none");
                    $('.assure').css("display", "none");
                    $('.urgent-contactor').css("display", "none");
                    $('.base-info').css("display", "block");
                } else if (cureent_index == 1) {
                    $('.spouse').css("display", "none");
                    $('.assure').css("display", "none");
                    $('.urgent-contactor').css("display", "block");
                    $('.base-info').css("display", "none");
                } else if (cureent_index == 2) {
                    $('.spouse').css("display", "none");
                    $('.assure').css("display", "block");
                    $('.urgent-contactor').css("display", "none");
                    $('.base-info').css("display", "none");
                } else if (cureent_index == 3) {
                    $('.spouse').css("display", "block");
                    $('.assure').css("display", "none");
                    $('.urgent-contactor').css("display", "none");
                    $('.base-info').css("display", "none");
                }
                $(this).addClass("active").siblings("").removeClass("active");
            });
        });

        //初始加载
        $(document).ready(function () {
            var iv2 = $("#viewer2").iviewer({
                src: 'img/test_image2.jpg'
                /*zoom_min: 185,
                 zoom_max: 2000,*/
            });
            $('.wrapper-main').hide().css('opacity','1');
        });

        $('.js_img').click(function(){
            $('.viewer img').attr('src', $(this).attr('src'));
            $('.wrapper-main').show();
        });

        var arr = [<?php echo ($src); ?>];
        $('.left,.right').click(function () {
            pguppgdn(this);
        });

        var pguppgdn= function (Dom) {
            var domimg = $('.viewer img').attr('src');
            var n = ($.inArray(domimg, arr));
            if (n >= 0 && n < arr.length) {
                if ($(Dom).hasClass('left')) {
                    $('.viewer img').attr('src', arr[n - 1]);
                }
                if ($(Dom).hasClass('right')) {
                    $('.viewer img').attr('src', arr[n + 1]);
                }
            }
        };
        $('.clear').click(function () {
            $('.wrapper-main').hide();
        });

        $(document).ready(function(){
            $("body").keydown(function(event){
                if(event.keyCode==37){
                    pguppgdn($('.left'));
                }
                if(event.keyCode==39){
                    pguppgdn($('.right'));
                }
            });
        });

    </script>
 </body>
</html>

        <div role="tabpanel" class="tab-pane box" id="ggg">
            <table style="width: 80%;margin-left: 50px;margin-top: 30px" class="table table-hover table-bordered">
                <div  style='margin-left: 50px;'>
                    <th>岗位职员</th>
                    <th>审核结果</th>
                    <th>审核意见</th>
                    <th>备注</th>
                    <th>审核人</th>
                    <th>审核时间</th>
                    <?php if(is_array($check_log)): $i = 0; $__LIST__ = $check_log;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$log): $mod = ($i % 2 );++$i;?><tr>
                            <td>
                                <?php switch($log["check_status"]): case "1": ?>渠道内勤审核<?php break;?>
                                    <?php case "2": ?>区域经理审核<?php break;?>
                                    <?php case "3": ?>审核助理审核<?php break;?>
                                    <?php case "4": ?>审核专员审核<?php break;?>
                                    <?php case "5": ?>审核主管审核<?php break;?>
                                    <?php case "6": ?>审核经理审核<?php break; endswitch;?>
                            </td>
                            <td>
                                <?php switch($log["status"]): case "1": ?>通过<?php break;?>
                                    <?php case "11": ?>待定<?php break;?>
                                    <?php case "12": ?>退回<?php break; endswitch;?>
                            </td>
                            <td>
                                <?php echo ($log["opinion"]); ?>
                            </td>

                            <td>
                                <?php echo ($log["note"]); ?>
                            </td>

                            <td>
                                <?php echo ($log["admin_name"]); ?>
                            </td>

                            <td>
                                <?php echo (date('Y-m-d H:i:s',$log["add_time"])); ?>
                            </td>
                        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                </div>
            </table>
            <h2>审核助理审核</h2>
            <form action="<?php echo U('Check/add_CheckInfo');?>" method='post'>
                <div class="list-block" style='margin-left: 3%;'>
                    <div class="row">
                        <div class="item col-33 ">
                            <label>审核结果:</label>
                            <select class="form-control" name="Cstatus" id="user_select">
                                <option value="1">通过</option>
                                <option value="11">待定</option>
                                <option value="12">驳回</option>
                                <!--<option value="0">拒贷</option>-->
                            </select>
                        </div>
                    </div>
                    <!--审核通过模块-->
                    <div id='check_detail'>
                        <div class="row">
                            <label>审核意见:</label>
                            <textarea name="opinion" id="" style="width:400px;" cols="60" rows="5"></textarea>
                        </div>
                        <div class="row ">
                            <label>备注:</label>
                            <input type="text" style="width:400px;" class='form-control' name="note">
                        </div>
                        <div class="row">
                            <label>附加查询:</label>
                            <a href="https://www.che300.com/" target="_blank" class="btn btn-primary">车300评估</a>
                            <a target="__blank" class="btn btn-danger"
                               href="http://www.122.gov.cn/m/map/select">驾照查询</a>
                        </div>
                    </div>
                    <div class="row">
                        <label></label>
                        <input type="hidden" id="user_id" name="user_id" value="<?php echo ($info["id"]); ?>">
                        <input type="hidden" name="check_status" value="3">
                        <input type="submit" class="button01" value="提交" name="">
                        <input type="button" class="button01" value="释放" id='cancel' name="">
                    </div>
                </div>
            </form>

        </div>
    </div>
</div>
</div>
<!--<script src="/Public/Admin/js/distpicker.data.js"></script>
<script src="/Public/Admin/js/distpicker.js"></script>-->
    <script type="text/javascript">
        $('.checkin').click(function () {
            obj = $(this), id = obj.data('id');
            var html = '';
            $.post('<?php echo U("Apply/check_info");?>', {id: id}, function (data) {

                html = '<p class="col-sm-6">审核人：' + data.admin_name + '</p>';
                html += '<p class="col-sm-6">身份：' + data.type + '</p>';
                if (data.status == 0) {
                    html += '<p class="col-sm-6">未通过类型：' + data.refuse_name + '</p>';
                    html += '<p class="col-sm-6">未通过原因：' + data.refuse_reason + '</p>';
                } else {
                    html += '<p class="col-sm-6">通过意见：' + data.opinion + '</p>';
                    html += '<p class="col-sm-6">通过备注：' + data.note + '</p>';
                }
                $('.modal-body').html(html);
                $('#myModal').show();
                // $('#myModal').modal('show');
            });
        });

        $(".close").click(function () {
            $('#myModal').hide();
        });
        $('#cancel').click(function () {
            var user_id=$("#user_id").val();
//            alert(user_id);
            $.post('<?php echo U("Index/cancel_status");?>', {id: user_id}, function (data) {
                if (data.status == 1) {
                    location.href = '<?php echo U("Check/assistant");?>';
                } else {
                    alert(data.info);
                    window.history.back();
                }
            });
        });

        $('#user_select').change(function () {
            var Cstatus = $("select[name='Cstatus']").val();
            if (Cstatus == 0) {
                $('#refuse').css('display', 'block');
            } else {
                $('#refuse').css('display', 'none');
            }

        });

    </script>
</body>
</html>